/**
 * Company : SIANGKLOM.
 * Created By : Chatree Siangklom
 * Created On : Sep 3, 2013  2:29:12 PM 
 * e-Mail : dr_chatree@hotmail.com
 * Mobile Phone : (+66) 087-921-5115
 * Package Name : com.tis.interfaces.controller
 * File Name : JqGridData.java
 * TODO
 */
package com.tis.interfaces.controller;

import java.util.List;

/**
 * @author Chatree Siangklom of Administrator
 * Date =Sep 3, 2013 : 2:29:12 PM 
 * CreateBy=Chatree Siangklom
 * TODO
 */
public class JqGridData<T> {

	  /** Total number of pages */
	  private int total;
	  /** The current page number */
	  private int page;
	  /** Total number of records */
	  private int records;
	  /** The actual data */
	  private List<T> rows;

	  public JqGridData(int total, int page, int records, List<T> rows) {
	    this.total = total;
	    this.page = page;
	    this.records = records;
	    this.rows = rows;
	  }

	  public int getTotal() {
	    return total;
	  }

	  public int getPage() {
	    return page;
	  }

	  public int getRecords() {
	    return records;
	  }

	  public List<T> getRows() {
	    return rows;
	  }

}
